

function httpClient(method='get',url,data,callback) {  
	uni.request({
		url: 'http://shop.dehengfalv.com/' + url, 
		data: data,
		success: (res) => {
		    
		    callback(res.data)
		},
		fail:(res)=>{
			console.log(res.data);
		}
	});
}

module.exports = {
	httpClient
}